import request from '@/utils/request'
export function videoPageApi (params) {
  return request({
    url: '/api/videoEquipment/pageList',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function videoUpdateApi (params) {
  return request({
    url: '/api/videoEquipment/update',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function videoAddApi (params) {
  return request({
    url: '/api/videoEquipment/add',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function videoDeleteApi (params) {
  return request({
    url: '/api/videoEquipment/delete',
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    },
    params
  })
}
